package com.liy.teaching.spring.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class DemoController {

    @GetMapping("/home")
    public String home() {
        return "access /home success";
    }

    @GetMapping("/test")
    public String test() {
        return "access /test success";
    }

}
